package com.mali.malibackendproduct.service;

import com.mali.backendcommon.common.Result;
import com.mali.malibackendmodel.pojo.ProxyProduct;
import com.baomidou.mybatisplus.extension.service.IService;
import com.mali.malibackendmodel.vo.PageVO;
import com.mali.malibackendmodel.vo.ProxyByProductIdVO;
import com.mali.malibackendmodel.vo.ProxyUserVO;

import java.util.List;

/**
* @author 132993
* @description 针对表【proxy(代理)】的数据库操作Service
* @createDate 2024-06-16 10:20:11
*/
public interface ProxyProductService extends IService<ProxyProduct> {
    Result<List<ProxyByProductIdVO>> getProxiesByProductId(Long productId);
    Result deleteProxy(Long productId,Long userId);
    Result addProxy(Long productId,Long userId);

}
